package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Familytree;

/**
 * 直系亲人报告Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public interface FamilytreeMapper 
{
    /**
     * 查询直系亲人报告
     * 
     * @param id 直系亲人报告主键
     * @return 直系亲人报告
     */
    public Familytree selectFamilytreeById(Long id);

    /**
     * 查询直系亲人报告列表
     * 
     * @param familytree 直系亲人报告
     * @return 直系亲人报告集合
     */
    public List<Familytree> selectFamilytreeList(Familytree familytree);

    /**
     * 新增直系亲人报告
     * 
     * @param familytree 直系亲人报告
     * @return 结果
     */
    public int insertFamilytree(Familytree familytree);

    /**
     * 修改直系亲人报告
     * 
     * @param familytree 直系亲人报告
     * @return 结果
     */
    public int updateFamilytree(Familytree familytree);

    /**
     * 删除直系亲人报告
     * 
     * @param id 直系亲人报告主键
     * @return 结果
     */
    public int deleteFamilytreeById(Long id);

    /**
     * 批量删除直系亲人报告
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFamilytreeByIds(Long[] ids);
}
